{{#if feature_image}}
    <div class="post-media{{#unless small_image}} container large{{/unless}}">
        <div class="u-placeholder{{#if ratio}} {{ratio}}{{/if}}">
            {{#if show_tag}}
                {{#if primary_tag}}
                    <a class="post-media-tag post-tag-{{primary_tag.slug}}"
                        href="{{primary_tag.url}}"
                        title="{{primary_tag.name}}">{{primary_tag.name}}</a>
                {{/if}}
            {{/if}}
            <a class="post-image-link" href="{{url}}">
                <img class="post-image lazyload u-object-fit"
                    {{#if static_image}}
                    src="{{img_url feature_image size="m"}}" {{else}}
                    data-srcset="{{img_url feature_image size="s"}} 400w, {{img_url feature_image size="m"}} 750w, {{img_url feature_image size="l"}} 960w, {{img_url feature_image size="xl"}} 1140w, {{img_url feature_image size="xxl"}} 1920w"
                    data-sizes="auto" src="{{img_url feature_image size="l"}}"
                    srcset=""
                    {{/if}} alt="{{title}}">
            </a>
        </div>
    </div>
{{/if}}